package com.allqj.sfx.ddd.member.infrastructure.po;

import com.allqj.sfx.infrastructure.po.BaseDO;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author sjw
 * @className FlowTypeDO
 * @date 2022/7/21 18:42
 * @description: 审批流-流程类型 data object
 */
@Entity
@Table(name = "flow_type")
public class FlowTypeDO extends BaseDO {
    @Id
    @GenericGenerator(name = "autoId", strategy = "native")
    @GeneratedValue(generator = "autoId")
    private Integer id;
    // code
    private Integer code;
    // 名称
    private String name;
    // 所属模块
    private Integer moduleId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getModuleId() {
        return moduleId;
    }

    public void setModuleId(Integer moduleId) {
        this.moduleId = moduleId;
    }
}
